package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_sly_wags database table.
 * 
 */
@Entity
@Table(name="per_sly_wags")
@NamedQuery(name="PerSlyWags.findAll", query="SELECT p FROM PerSlyWags p")
public class PerSlyWags implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PER_SLY_WAGS_WAGSID_GENERATOR", sequenceName="SEQ1",allocationSize=1,initialValue=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PER_SLY_WAGS_WAGSID_GENERATOR")
	private int wagsid;

	private String wagscd;

	private String wagsjb;

	private String wagsqj;

	private String wagssb;

	private String wagssf;

	private int wagsstat;

	private String wagswq;

	private String wagsyf;

	private String wagszt;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerSlySls
	@ManyToOne
	@JoinColumn(name="SLSID")
	private PerSlySls perSlySl;

	//bi-directional many-to-one association to PerSlySz
	@ManyToOne
	@JoinColumn(name="SZID")
	private PerSlySz perSlySz;

	public PerSlyWags() {
	}

	public int getWagsid() {
		return this.wagsid;
	}

	public void setWagsid(int wagsid) {
		this.wagsid = wagsid;
	}

	public String getWagscd() {
		return this.wagscd;
	}

	public void setWagscd(String wagscd) {
		this.wagscd = wagscd;
	}

	public String getWagsjb() {
		return this.wagsjb;
	}

	public void setWagsjb(String wagsjb) {
		this.wagsjb = wagsjb;
	}

	public String getWagsqj() {
		return this.wagsqj;
	}

	public void setWagsqj(String wagsqj) {
		this.wagsqj = wagsqj;
	}

	public String getWagssb() {
		return this.wagssb;
	}

	public void setWagssb(String wagssb) {
		this.wagssb = wagssb;
	}

	public String getWagssf() {
		return this.wagssf;
	}

	public void setWagssf(String wagssf) {
		this.wagssf = wagssf;
	}

	public int getWagsstat() {
		return this.wagsstat;
	}

	public void setWagsstat(int wagsstat) {
		this.wagsstat = wagsstat;
	}

	public String getWagswq() {
		return this.wagswq;
	}

	public void setWagswq(String wagswq) {
		this.wagswq = wagswq;
	}

	public String getWagsyf() {
		return this.wagsyf;
	}

	public void setWagsyf(String wagsyf) {
		this.wagsyf = wagsyf;
	}

	public String getWagszt() {
		return this.wagszt;
	}

	public void setWagszt(String wagszt) {
		this.wagszt = wagszt;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerSlySls getPerSlySl() {
		return this.perSlySl;
	}

	public void setPerSlySl(PerSlySls perSlySl) {
		this.perSlySl = perSlySl;
	}

	public PerSlySz getPerSlySz() {
		return this.perSlySz;
	}

	public void setPerSlySz(PerSlySz perSlySz) {
		this.perSlySz = perSlySz;
	}

}